<?php if (!$model->IsNewRecord) echo $form->hiddenField($model, "[$i]id"); ?>
<div class="row">
    <?php echo $form->hiddenField($model, "[$i]article_id"); ?>
    <?php echo $form->hiddenField($model, "[$i]locale"); ?>
</div>

<div class="row">
    <?php echo $form->labelEx($model, "[$i]title"); ?>
    <?php echo $form->textField($model, "[$i]title", array("size" => 60, "maxlength" => 255)); ?>
    <?php echo $form->error($model, "[$i]title"); ?>
</div>

<div class="row">
    <?php echo $form->labelEx($model, "[$i]content"); ?>
    <?php $this->widget('Core.components.tinymce.ETinyMce', array(
    'model'=>$model, 
    'attribute'=>"[$i]content", 
    'editorTemplate'=>'full',
    'options'=>array(
        'theme_advanced_buttons1'=>'cut,copy,paste,pastetext,pasteword,|,search,replace,|,undo,redo,|,removeformat,cleanup,|,spellchecker,|,visualaid,visualchars,|,ltr,rtl,|,code,preview,fullscreen'
    ),
    'width'=>'650px',
    'height'=>'570px',
)); ?>
    <?php echo $form->error($model, "[$i]content"); ?>
</div>
